﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<SolidColorBrush x:Key="BrushAllFine" Color="#FF00A000"/>
	<SolidColorBrush x:Key="BrushAllDown" Color="#FFA00000"/>
	<SolidColorBrush x:Key="BrushPartialFine" Color="#FFDDDD00"/>
    <SolidColorBrush x:Key="BrushNotRunning" Color="#FF000000"/>
	<!-- 应该在此定义资源字典条目。-->
	<DataTemplate x:Key="InfoGenTemplate">
		<Grid>
			<CheckBox Content="{Binding Name}" Margin="0" d:LayoutOverrides="Width, Height" IsChecked="{Binding IsEnabled}"/>
		</Grid>
	</DataTemplate>
	<DataTemplate x:Key="InfoProcTemplate">
		<Grid>
			<CheckBox Content="{Binding Name}" Margin="0" VerticalAlignment="Bottom" d:LayoutOverrides="Width" IsChecked="{Binding IsEnabled}"/>
		</Grid>
	</DataTemplate>
	<DataTemplate x:Key="InfoSenderTemplate">
		<Grid>
			<CheckBox Content="{Binding Name}" Margin="0" d:LayoutOverrides="Width, Height" IsChecked="{Binding IsEnabled}"/>
		</Grid>
	</DataTemplate>
</ResourceDictionary>